package com.mpsc.singleton.demo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class RoleInfoVo implements Serializable {

    private long id;

    @ApiModelProperty(value = "分片键", example = "1")
    private long shardingId;

    @NotNull(message = "信息不能为null")
    private String roleName;

    private String roleCode;

}
